/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package eproject_sem2;

import java.sql.SQLException;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JInternalFrame;
import javax.swing.JOptionPane;

/**
 *
 * @author ZER0
 */
public class Information_VS extends javax.swing.JFrame {

    public static boolean RS=true;

    public static boolean isRS() {
        return RS;
    }

    public JInternalFrame getIFInformation() {
        return IFInformation;
    }
    
    private static final long serialVersionUID = 1L;
    VotesSent sent = new VotesSent();
    VotesSent_Sever s = new VotesSent_Sever();

    /**
     * Creates new form Information_VS
     *
     * @throws SQLException
     * @throws ClassNotFoundException
     */
    public Information_VS() throws SQLException, ClassNotFoundException {
        initComponents();
        lbWaybill1.setText(VotesSent.getWaybill());
        lbDate1.setText(VotesSent.getDate());
        lbEmployeeV.setText(Interface.getEN());
        lblCustomersID.setText(VotesSent.getCustomersID());
        lblCustomerName.setText(VotesSent.getCName());
        lblPhoneNumber.setText(Integer.toString(VotesSent.getPhone()));
        lblCustomerAddress.setText(VotesSent.getCAddress());
        lblFromS.setText(VotesSent.getFrom());
        lblToS.setText(VotesSent.getTo());
        lblDAddressS.setText(VotesSent.getDeliveryaddress());
        lblTP.setText(VotesSent.getTypeparce());
        lblWeight.setText(Float.toString(VotesSent.getPWeight()));
        lblcostsincurred.setText(Float.toString(VotesSent.getCostsincurred()));
        lblSf.setText(Float.toString(VotesSent.getShippingfee()));
        lblTotalAmount.setText(Float.toString(VotesSent.getTotalamount()));
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        IFInformation = new javax.swing.JInternalFrame();
        btnYes = new javax.swing.JButton();
        jpCheckout = new javax.swing.JPanel();
        lbWeight = new javax.swing.JLabel();
        lbShippingfee = new javax.swing.JLabel();
        lbCostsincurred = new javax.swing.JLabel();
        lbTotalamount = new javax.swing.JLabel();
        lbUCostsincurred = new javax.swing.JLabel();
        lbUShippingfee = new javax.swing.JLabel();
        lbUTotalamount = new javax.swing.JLabel();
        lblWeight = new javax.swing.JLabel();
        lblcostsincurred = new javax.swing.JLabel();
        lblSf = new javax.swing.JLabel();
        lblTotalAmount = new javax.swing.JLabel();
        lblW = new javax.swing.JLabel();
        jpInformationvotessent = new javax.swing.JPanel();
        lbCustomersID = new javax.swing.JLabel();
        lbCustomerName = new javax.swing.JLabel();
        lbDiachiKH = new javax.swing.JLabel();
        lbPhoneN = new javax.swing.JLabel();
        lblCustomersID = new javax.swing.JLabel();
        lblCustomerName = new javax.swing.JLabel();
        lblPhoneNumber = new javax.swing.JLabel();
        lblCustomerAddress = new javax.swing.JLabel();
        lbEmployeeV = new javax.swing.JLabel();
        lbDate = new javax.swing.JLabel();
        lbWaybill = new javax.swing.JLabel();
        lbWaybill1 = new javax.swing.JLabel();
        lbDate1 = new javax.swing.JLabel();
        btnNo = new javax.swing.JButton();
        lbEmployeeT = new javax.swing.JLabel();
        jpInformationparcel = new javax.swing.JPanel();
        lbDeliveryaddress = new javax.swing.JLabel();
        lbTypeparce = new javax.swing.JLabel();
        lblTo = new javax.swing.JLabel();
        lblFrom = new javax.swing.JLabel();
        lblFromS = new javax.swing.JLabel();
        lblToS = new javax.swing.JLabel();
        lblDAddressS = new javax.swing.JLabel();
        lblTP = new javax.swing.JLabel();
        jLabel1 = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);

        IFInformation.setFocusCycleRoot(false);
        IFInformation.setVisible(true);

        btnYes.setText("Yes");
        btnYes.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnYesActionPerformed(evt);
            }
        });

        jpCheckout.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Checkout", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 14))); // NOI18N

        lbWeight.setText("Weight:");

        lbShippingfee.setText("Shipping fee:");

        lbCostsincurred.setText("Costsincurred:");

        lbTotalamount.setText("Total amount:");

        lbUCostsincurred.setText("000vnd");

        lbUShippingfee.setText("000vnd");

        lbUTotalamount.setText("000vnd");

        lblWeight.setText("xxxx");

        lblcostsincurred.setText("xxxxxxx");

        lblSf.setText("xxx");

        lblTotalAmount.setText("xxxx");

        lblW.setText("000g");

        javax.swing.GroupLayout jpCheckoutLayout = new javax.swing.GroupLayout(jpCheckout);
        jpCheckout.setLayout(jpCheckoutLayout);
        jpCheckoutLayout.setHorizontalGroup(
            jpCheckoutLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpCheckoutLayout.createSequentialGroup()
                .addGap(30, 30, 30)
                .addGroup(jpCheckoutLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(lbCostsincurred)
                    .addComponent(lbWeight)
                    .addComponent(lbShippingfee)
                    .addComponent(lbTotalamount))
                .addGap(18, 18, 18)
                .addGroup(jpCheckoutLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(lblcostsincurred)
                    .addComponent(lblWeight)
                    .addComponent(lblSf)
                    .addComponent(lblTotalAmount))
                .addGap(162, 162, 162)
                .addGroup(jpCheckoutLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(lbUTotalamount)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jpCheckoutLayout.createSequentialGroup()
                        .addGroup(jpCheckoutLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(lbUCostsincurred)
                            .addComponent(lblW)
                            .addComponent(lbUShippingfee))
                        .addGap(12, 12, 12)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jpCheckoutLayout.setVerticalGroup(
            jpCheckoutLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpCheckoutLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jpCheckoutLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lbWeight)
                    .addComponent(lblWeight)
                    .addComponent(lblW))
                .addGap(18, 18, 18)
                .addGroup(jpCheckoutLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lbUShippingfee)
                    .addComponent(lbCostsincurred, javax.swing.GroupLayout.PREFERRED_SIZE, 14, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblcostsincurred))
                .addGap(18, 18, 18)
                .addGroup(jpCheckoutLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lbUCostsincurred)
                    .addComponent(lbShippingfee)
                    .addComponent(lblSf))
                .addGap(19, 19, 19)
                .addGroup(jpCheckoutLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lbTotalamount)
                    .addComponent(lbUTotalamount)
                    .addComponent(lblTotalAmount))
                .addGap(0, 0, Short.MAX_VALUE))
        );

        jpInformationvotessent.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Information votes sent", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 14), new java.awt.Color(0, 0, 0))); // NOI18N

        lbCustomersID.setText("CustomersID:");

        lbCustomerName.setText("Customer Name:");

        lbDiachiKH.setText("Customer Address:");

        lbPhoneN.setText("Phone number:");

        lblCustomersID.setText("xxxx");

        lblCustomerName.setText("xxxx");

        lblPhoneNumber.setText("xxx");

        lblCustomerAddress.setText("xxxxx");

        javax.swing.GroupLayout jpInformationvotessentLayout = new javax.swing.GroupLayout(jpInformationvotessent);
        jpInformationvotessent.setLayout(jpInformationvotessentLayout);
        jpInformationvotessentLayout.setHorizontalGroup(
            jpInformationvotessentLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpInformationvotessentLayout.createSequentialGroup()
                .addGap(34, 34, 34)
                .addGroup(jpInformationvotessentLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(lbCustomerName)
                    .addComponent(lbCustomersID)
                    .addComponent(lbPhoneN))
                .addGap(18, 18, 18)
                .addGroup(jpInformationvotessentLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jpInformationvotessentLayout.createSequentialGroup()
                        .addComponent(lblCustomersID)
                        .addGap(275, 275, 275)
                        .addComponent(lbDiachiKH)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(lblCustomerAddress))
                    .addComponent(lblCustomerName)
                    .addComponent(lblPhoneNumber))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jpInformationvotessentLayout.setVerticalGroup(
            jpInformationvotessentLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpInformationvotessentLayout.createSequentialGroup()
                .addGroup(jpInformationvotessentLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jpInformationvotessentLayout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(jpInformationvotessentLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(lbCustomersID)
                            .addComponent(lblCustomersID))
                        .addGap(18, 18, 18)
                        .addGroup(jpInformationvotessentLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(lbCustomerName)
                            .addComponent(lblCustomerName))
                        .addGap(18, 18, 18)
                        .addGroup(jpInformationvotessentLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(lbPhoneN)
                            .addComponent(lblPhoneNumber)))
                    .addGroup(jpInformationvotessentLayout.createSequentialGroup()
                        .addGap(21, 21, 21)
                        .addGroup(jpInformationvotessentLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(lbDiachiKH)
                            .addComponent(lblCustomerAddress))))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        lbEmployeeV.setText("xxxxx");

        lbDate.setText("Date:");

        lbWaybill.setText("Waybill:");

        lbWaybill1.setText("xxxx");

        lbDate1.setText("x/x/x");

        btnNo.setText("No");
        btnNo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnNoActionPerformed(evt);
            }
        });

        lbEmployeeT.setText("Employee transaction:");

        jpInformationparcel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Information parcel", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 14))); // NOI18N
        jpInformationparcel.setPreferredSize(new java.awt.Dimension(440, 160));

        lbDeliveryaddress.setText("Delivery address:");

        lbTypeparce.setText("Type Parce:");

        lblTo.setText("To:");

        lblFrom.setText("From:");

        lblFromS.setText("xxxxx");

        lblToS.setText("xxxx");

        lblDAddressS.setText("xxxx");

        lblTP.setText("xxx");

        javax.swing.GroupLayout jpInformationparcelLayout = new javax.swing.GroupLayout(jpInformationparcel);
        jpInformationparcel.setLayout(jpInformationparcelLayout);
        jpInformationparcelLayout.setHorizontalGroup(
            jpInformationparcelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jpInformationparcelLayout.createSequentialGroup()
                .addGap(14, 14, 14)
                .addGroup(jpInformationparcelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(lblFrom, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(lblTo, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(lbTypeparce, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(lbDeliveryaddress, javax.swing.GroupLayout.Alignment.TRAILING))
                .addGap(18, 18, 18)
                .addGroup(jpInformationparcelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(lblFromS)
                    .addComponent(lblToS)
                    .addComponent(lblDAddressS)
                    .addComponent(lblTP))
                .addContainerGap(201, Short.MAX_VALUE))
        );
        jpInformationparcelLayout.setVerticalGroup(
            jpInformationparcelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpInformationparcelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jpInformationparcelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lblFrom)
                    .addComponent(lblFromS))
                .addGap(18, 18, 18)
                .addGroup(jpInformationparcelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(lblTo)
                    .addComponent(lblToS))
                .addGap(18, 18, 18)
                .addGroup(jpInformationparcelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jpInformationparcelLayout.createSequentialGroup()
                        .addComponent(lbDeliveryaddress)
                        .addGap(18, 18, 18)
                        .addGroup(jpInformationparcelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(lbTypeparce)
                            .addComponent(lblTP)))
                    .addComponent(lblDAddressS))
                .addContainerGap(14, Short.MAX_VALUE))
        );

        jLabel1.setFont(new java.awt.Font("Tahoma", 3, 24)); // NOI18N
        jLabel1.setForeground(new java.awt.Color(153, 0, 0));
        jLabel1.setText("Information");

        javax.swing.GroupLayout IFInformationLayout = new javax.swing.GroupLayout(IFInformation.getContentPane());
        IFInformation.getContentPane().setLayout(IFInformationLayout);
        IFInformationLayout.setHorizontalGroup(
            IFInformationLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, IFInformationLayout.createSequentialGroup()
                .addGap(217, 217, 217)
                .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 163, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(IFInformationLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(lbWaybill, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(lbDate, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(lbEmployeeT, javax.swing.GroupLayout.Alignment.TRAILING))
                .addGap(18, 18, 18)
                .addGroup(IFInformationLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(lbDate1)
                    .addComponent(lbWaybill1)
                    .addComponent(lbEmployeeV))
                .addGap(93, 93, 93))
            .addGroup(IFInformationLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(IFInformationLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(IFInformationLayout.createSequentialGroup()
                        .addComponent(jpInformationparcel, javax.swing.GroupLayout.PREFERRED_SIZE, 359, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(33, 33, 33)
                        .addComponent(jpCheckout, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(jpInformationvotessent, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap())
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, IFInformationLayout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(btnYes, javax.swing.GroupLayout.PREFERRED_SIZE, 74, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(61, 61, 61)
                .addComponent(btnNo, javax.swing.GroupLayout.PREFERRED_SIZE, 74, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(124, 124, 124))
        );
        IFInformationLayout.setVerticalGroup(
            IFInformationLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(IFInformationLayout.createSequentialGroup()
                .addGroup(IFInformationLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(IFInformationLayout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(IFInformationLayout.createSequentialGroup()
                        .addGroup(IFInformationLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(lbWaybill, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(lbWaybill1))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(IFInformationLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(lbDate)
                            .addComponent(lbDate1))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(IFInformationLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(lbEmployeeV)
                            .addComponent(lbEmployeeT))))
                .addGap(42, 42, 42)
                .addComponent(jpInformationvotessent, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addGroup(IFInformationLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jpCheckout, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jpInformationparcel, javax.swing.GroupLayout.DEFAULT_SIZE, 161, Short.MAX_VALUE))
                .addGap(31, 31, 31)
                .addGroup(IFInformationLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btnNo, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnYes, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(36, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(IFInformation)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(IFInformation, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void btnYesActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnYesActionPerformed
        try {
            // TODO add your handling code here:
            
            String GID = s.GetIDD(s.Getdistance(VotesSent.getTo(), VotesSent.getFrom(), "Prices_by_Area"), "Prices_by_distance");
            String TypeParceID = s.GetID(VotesSent.getTypeparce(), sent.TableT);
            String GPID = s.GetID(Float.toString(VotesSent.getPWeight()), sent.TableW);
            if ((s.Insert(VotesSent.getWaybill(), VotesSent.getDate(), s.GetID(Interface.getEN(), "Employee"), VotesSent.getCustomersID(), VotesSent.getDeliveryaddress(), GID, TypeParceID, GPID, VotesSent.getCostsincurred(), VotesSent.getShippingfee(), VotesSent.getTotalamount())) == true && (s.InsertCustomer(VotesSent.getCustomersID(), VotesSent.getCName(), VotesSent.getCAddress(), VotesSent.getPhone())) == true) {
            } else {
                JOptionPane.showMessageDialog(rootPane, "Database errors");
            }
            dispose();
    }//GEN-LAST:event_btnYesActionPerformed
        catch (ClassNotFoundException ex) {
            Logger.getLogger(Information_VS.class.getName()).log(Level.SEVERE, null, ex);
        } catch (SQLException ex) {
            Logger.getLogger(Information_VS.class.getName()).log(Level.SEVERE, null, ex);
        }
    }
    private void btnNoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnNoActionPerformed
  
            // TODO add your handling code here:            
            dispose();

    }//GEN-LAST:event_btnNoActionPerformed
    /**
     * @param args the command line arguments
     */
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JInternalFrame IFInformation;
    private javax.swing.JButton btnNo;
    private javax.swing.JButton btnYes;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JPanel jpCheckout;
    private javax.swing.JPanel jpInformationparcel;
    private javax.swing.JPanel jpInformationvotessent;
    private javax.swing.JLabel lbCostsincurred;
    private javax.swing.JLabel lbCustomerName;
    private javax.swing.JLabel lbCustomersID;
    private javax.swing.JLabel lbDate;
    private javax.swing.JLabel lbDate1;
    private javax.swing.JLabel lbDeliveryaddress;
    private javax.swing.JLabel lbDiachiKH;
    private javax.swing.JLabel lbEmployeeT;
    private javax.swing.JLabel lbEmployeeV;
    private javax.swing.JLabel lbPhoneN;
    private javax.swing.JLabel lbShippingfee;
    private javax.swing.JLabel lbTotalamount;
    private javax.swing.JLabel lbTypeparce;
    private javax.swing.JLabel lbUCostsincurred;
    private javax.swing.JLabel lbUShippingfee;
    private javax.swing.JLabel lbUTotalamount;
    private javax.swing.JLabel lbWaybill;
    private javax.swing.JLabel lbWaybill1;
    private javax.swing.JLabel lbWeight;
    private javax.swing.JLabel lblCustomerAddress;
    private javax.swing.JLabel lblCustomerName;
    private javax.swing.JLabel lblCustomersID;
    private javax.swing.JLabel lblDAddressS;
    private javax.swing.JLabel lblFrom;
    private javax.swing.JLabel lblFromS;
    private javax.swing.JLabel lblPhoneNumber;
    private javax.swing.JLabel lblSf;
    private javax.swing.JLabel lblTP;
    private javax.swing.JLabel lblTo;
    private javax.swing.JLabel lblToS;
    private javax.swing.JLabel lblTotalAmount;
    private javax.swing.JLabel lblW;
    private javax.swing.JLabel lblWeight;
    private javax.swing.JLabel lblcostsincurred;
    // End of variables declaration//GEN-END:variables
}
